package com.ruoyi.books.mapper;

import java.util.List;
import com.ruoyi.books.domain.BooksPicture;

/**
 * 非遗图片汇总Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-01
 */
public interface BooksPictureMapper 
{
    /**
     * 查询非遗图片汇总
     * 
     * @param pictureId 非遗图片汇总主键
     * @return 非遗图片汇总
     */
    public BooksPicture selectBooksPictureByPictureId(Long pictureId);

    /**
     * 查询非遗图片汇总列表
     * 
     * @param booksPicture 非遗图片汇总
     * @return 非遗图片汇总集合
     */
    public List<BooksPicture> selectBooksPictureList(BooksPicture booksPicture);

    /**
     * 新增非遗图片汇总
     * 
     * @param booksPicture 非遗图片汇总
     * @return 结果
     */
    public int insertBooksPicture(BooksPicture booksPicture);

    /**
     * 修改非遗图片汇总
     * 
     * @param booksPicture 非遗图片汇总
     * @return 结果
     */
    public int updateBooksPicture(BooksPicture booksPicture);

    /**
     * 删除非遗图片汇总
     * 
     * @param pictureId 非遗图片汇总主键
     * @return 结果
     */
    public int deleteBooksPictureByPictureId(Long pictureId);

    /**
     * 批量删除非遗图片汇总
     * 
     * @param pictureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBooksPictureByPictureIds(Long[] pictureIds);
}
